<?php
include_once('phpqrcode.php');
$value = $_REQUEST['text']; // 二维码内容   
$errorCorrectionLevel = 'L';// 容错级别 L、M、Q、H
$matrixPointSize = 6;       // 生成图片大小 1 - 10
QRcode::png($value, false, $errorCorrectionLevel, $matrixPointSize, true);

